<!--
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
<table class="table">
  <tr>
    <th>setting</th>
    <th>value</th>
  </tr>
  <tr>
    <td>
      <span class="setting-label" tooltip="Max number of instances being updated at any given moment.">
        Update Group Size
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.updateGroupSize}}</strong>
    </td>
  </tr>
  <tr>
    <td>
      <span class="setting-label" tooltip="Max number of instance failures to tolerate before marking instance as FAILED.">
        Max Failures Per Instance
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.maxPerInstanceFailures}}</strong>
    </td>
  </tr>
  <tr>
    <td>
      <span class="setting-label" tooltip="Max number of FAILED instances to tolerate before terminating the update.">
        Max Failed Instances
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.maxFailedInstances}}</strong>
    </td>
  </tr>
  <tr>
    <td>
      <span class="setting-label" tooltip="Min time to watch a RUNNING instance.">
        Min Waiting Time In Running
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.minWaitInInstanceRunningMs}}</strong>
    </td>
  </tr>
  <tr>
    <td>
      <span class="setting-label" tooltip="If true, enables failed update rollback.">
        Rollback on Failure
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.rollbackOnFailure}}</strong>
    </td>
  </tr>
  <tr ng-if="update.update.instructions.settings.updateOnlyTheseInstances">
    <td>
      <span class="setting-label" tooltip="A subset of instance IDs to act on. All instances will be affected if this is not set.">
        Instance IDs
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.updateOnlyTheseInstances | toNiceRanges}}</strong>
    </td>
  </tr>
  <tr ng-if="update.update.instructions.settings.blockIfNoPulsesAfterMs">
    <td>
      <span class="setting-label" tooltip="Time in ms to wait for a pulse before blocking update progress.">
        Pulse Timeout
      </span>
    </td>
    <td>
      <strong>{{update.update.instructions.settings.blockIfNoPulsesAfterMs}}</strong>
    </td>
  </tr>
</table>